<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>Login</title>
    <style type="text/css">
        ul li{
            list-style: none;
        }
    </style>
</head>
<body>
<div >
    <form name="form" accept-charset="utf-8"  th action="/doLogin">
        <ul >
            <li>
                <label  class="input-tips2">用户名：</label>
                <div class="inputOuter2">
                    <input type="text" id="name" name="name" maxlength="16" />
                </div>
            </li>
            <li>
                <label class="input-tips2">密码：</label>
                <div >
                    <input type="password" id="password"  name="password" maxlength="16"/>
                </div>
            </li>
            <p th:text="${msg}" style="color: red"></p>
            <li>
                <div >
                    <input type="submit" value="登录"/>
                    <a href="/register">注册</a>
                </div>
            </li>
        </ul>
    </form>
</div>
</body>
</html>